home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2002 September / PCpro_2002_09.ISO / techtalk / automationsuite / 247setup.exe / {app} / Template / remote_unix.ini < prev    next >
Encoding:
INI File  |  2002-07-11  |  1.8 KB  |  45 lines

  1. ; Note: comment lines in .INI files always start with a semicolon
  2.  
  3. [Template]
  4. Description=Use this template to create a job that will execute specified command on remote UNIX host.
  5.  
  6. [Variables]
  7. ; Key values that have their name enclosed in % signs will be used for 
  8. ; template wizard questionnaire and substitution variables
  9. ; such key values should consist of 2 comma separated parts:
  10. ;    1. Field Edit Style (EDIT, YES/NO, FILE BROWSE, 
  11. ;                         DIR BROWSE, PROCESS BROWSE,
  12. ;                         FTP BROWSE, MAIL PROFILE LIST,
  13. ;                         REMOTE FILE BROWSE, REMOTE DIR BROWSE,
  14. ;                         REMOTE AGENT LIST, DB PROFILE LIST)
  15. ;    2. Prompt
  16. ;
  17. ; Example: %VAR%=EDIT,What is the name of the service that you want to monitor?
  18. ;
  19. ; Key values that don't have their name enclosed in % signs will be used for 
  20. ; job properties (See online help on "Job property names for use with JDL commands" 
  21. ; topic for more details).
  22. ;
  23. ; Example: DAY_NUMBER=1
  24.  
  25. %HOST%=EDIT,On which remote host do you want to run command?
  26. %COMMAND%=EDIT,What command do you want to run?
  27. %USER%=EDIT,Enter your user id to use for authentication on the remote host:
  28. %START_TIME%=EDIT,Enter job start time (hh:mm in 24-hour time format):
  29. JOB_TYPE=S
  30. SCHEDULE_TYPE=D
  31. START_TIME=%START_TIME%
  32. ASYNC=N
  33. DESCRIPTION=Every work day this job runs <insert command here> command on the remote UNIX host. 
  34.  
  35. ; Notes: The script bellow can include substitution variables.
  36. ;        Substitution variables must be specified in %VAR% format 
  37. ;        where VAR is the variable name.
  38. ;
  39. ; Everything after the next line will be used for the template script.
  40. ;========================================================================================
  41. [Body]
  42.  
  43. Dim process_id, number
  44. Run "cmd /c rexec %HOST% -l %USER% -n %COMMAND%", "", process_id
  45.